//
//  ImageTitleTextCell1.m
//  RuiBeiKang
//
//  Created by 江伟 on 2018/11/23.
//  Copyright © 2018年 JW. All rights reserved.
//

#import "ImageTitleTextCell1.h"

@implementation ImageTitleTextCell1

- (void)setModel:(ImageTitlteTextModel *)model {
    _model = model;
    self.titleLab.text = _model.title;
    self.contentLab.text = _model.text;
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(_model.img)] placeholderImage:IMG(@"")];
}

- (void)setupSimulatData {
    self.imgView.image = DefalutImage;
    self.titleLab.text = @"消化系统评估";
    self.contentLab.text = @"消化系统是人体最重要的循环系统，赶紧测试一下吧";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
